﻿using Common;
using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnesSystem.Models
{
    public class PatientLisDataModel : BaseModel<PatientLisDataModel>
    {
        private ObjectId _id;
        /**
         * 病人ID 关联键
         */
        private string _patientID;
        /**
         * 病人住院号
         */
        private string _zyh;

        /**
         * 查询结果
         */
        private bool _result;
        /**
         * 检验内容
         */
        private JianYanModel _jianYan;

        /**
         * 更新时间
         */
        private DateTime _beginTime;

        public ObjectId Id
        {
            get
            {
                return _id;
            }

            set
            {
                _id = value;
            }
        }

        public string PatientID
        {
            get
            {
                return _patientID;
            }

            set
            {
                _patientID = value;
            }
        }

        public string Zyh
        {
            get
            {
                return _zyh;
            }

            set
            {
                _zyh = value;
            }
        }

        public bool Result
        {
            get
            {
                return _result;
            }

            set
            {
                _result = value;
            }
        }

        public JianYanModel JianYan
        {
            get
            {
                return _jianYan;
            }

            set
            {
                _jianYan = value;
            }
        }

        public DateTime BeginTime
        {
            get
            {
                return _beginTime;
            }

            set
            {
                _beginTime = value;
            }
        }
    }
}
